1001 Secrets for Windows NT Registry
(Publisher: 29th Street Press)
Author(s): Tim Daniels
ISBN: 1882419685
Publication Date: 12/01/97

Previous Table of Contents Next


Uninstallation

I-260 Have you ever installed some trial software and removed it at the end of the demo period, only to be plagued by the annoying message “Cannot find file C:\filename” (or one of its components)? Try this registry entry to correct the problem.

Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows\CurrentVersion
Value Name: Run
Data Type: REG_SZ
Value: <filename>

Registry

I-261 Problem: Windows NT 4.0 Server requires that people who can remotely access the registry on a given machine belong to the Administrator group. However, someone is still tampering with your registry. To change the permissions, modify this registry entry.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Control\ SecurePipeServers\winreg

Change the permissions on this key to whomever you wish to give access to. The default is Administrators Full Control.

I-262 In Windows NT Workstation, the Winreg key is not in the registry by default. If you add this key to the registry, you must also add the subkey Allowedpaths. Here is the AllowedPaths key under a clean install of Windows NT Server 4.0

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Control\SecurePipeServers\ winreg\AllowedPaths
Value Name: Machine
DataType: REG_MULTI_SZ
Value: System\CurrentControlSet\Control\ProductOptions

I-263 Value: System\CurrentControlSet\Control\Print\Printers

I-264 Value: System\CurrentControlSet\Services\Eventlog

I-265 Value: Software\Microsoft\Windows NT\CurrentVersion

Restart your machine for these new values to take effect.

I-266 Did you ever wonder where the registry files are stored? Well, where else would you expect to find the answer but in the registry itself?

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Control\Hivelist
Value Name: Registry\Machine\Clone
Data Type: REG_SZ
Value:

This registry entry stores the clone hive information.

I-267 Value Name: Registry\Machine\Hardware
Data Type: REG_SZ
Value:

This registry entry stores hardware hive information.

I-268 Value Name: Registry\Machine\SAM
Data Type: REG_SZ
Value: Device\Harddisk0\Partition1\NTS40\System32\Config\SAM

This registry entry stores all the SAM information.

I-269 Value Name: Registry\Machine\Security
Data Type: REG_SZ
Value: Device\Harddisk0\Partition1\NTS40\System32\Config\Security

This file stores information for the grayed-out Security hive.

I-270 Value Name: Registry\Machine\Software
Data Type: REG_SZ
Value: Device\Harddisk0\Partition1\NTS40\System32\Config\ Software

This file contains the value for the Software hive.

I-271 Value Name: Registry\Machine\System
Data Type: REG_SZ
Value: Device\Harddisk0\Partition1\NTS40\System32\Config\System

This entry shows where the System hive is stored.

I-272 Value Name: Registry\User\Default
Data Type: REG_SZ
Value: Device\Harddisk0\Partition1\NTS40\System32\Config\Default

This entry shows where the default values for the user hive are stored.

I-273 Value Name: Registry\User\<big long user id number>
Data Type: REG_SZ
Value: Device\Harddisk0\Partition1\NTS40\Profiles\<username>\ Ntuser.dat

This entry shows the user data for the current logged-on user.


Previous Table of Contents Next